package org.jeecg.modules.demo.spcWeeklyPlan.service;

import org.jeecg.modules.demo.spcWeeklyPlan.entity.SpcWeeklyPlanDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 周计划明细
 * @Author: jeecg-boot
 * @Date:   2023-10-23
 * @Version: V1.0
 */
public interface ISpcWeeklyPlanDetailService extends IService<SpcWeeklyPlanDetail> {

  /**
   * 通过主表id查询子表数据
   *
   * @param mainId
   * @return List<SpcWeeklyPlanDetail>
   */
	public List<SpcWeeklyPlanDetail> selectByMainId(String mainId);

    String getMaxCode();

    public List<SpcWeeklyPlanDetail> getByHetCode(String hetid);

    String getWeekQuality(String beginTime,String endTime,String dept);

}
